public Object sayHello() {
    StringBuffer message = new StringBuffer();
    message.append("My name is ")
    message.append(name);
    return message.toString();
}

public Object sayGoodbye() {
    StringBuffer message = new StringBuffer();
    message.append("See you again ")
    message.append(param);
    return message.toString();
}